<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ page import="com.park.layout.Blocks" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%-- JSTL表达式（判断，循环，输出） --%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%-- 方法表达式（字符串截取，替换） --%>
<%@ taglib uri="http://www.wanwei.com/tags/tag" prefix="layout" %>
<layout:override name="<%=Blocks.BLOCK_HEADER_SCRIPTS%>">
    <script src="Content/dist/jquery-form.js?v=${static_resource_version}"></script>
</layout:override>

<div class="banner">
    <form enctype="multipart/form-data">
        <input type="hidden" name="uid" value="${uid}" />
        <div class="form-group">
            <label class="col-sm-4 control-label">
                选择下级一级用户
            </label>

            <div class="col-sm-8">
                <select class="form-control subUser" name="subUid" style="height: auto;">
                    <option value="">请选择用户</option>
                    <c:forEach var="user" items="${userOperatorList}">
                        <option value="${user.id}">${user.operatorName} (${user.operatorMobile})</option>
                    </c:forEach>
                </select>
            </div>
        </div>

        <div class="form-group">
            <div class="text-center" style="padding-top: 20px;">
                <button type="button" class="btn btn-success password-confirm" onclick="updateBanner(this)">
                    <span class="glyphicon glyphicon-ok"></span> 保 存
                </button>
            </div>
        </div>
    </form>
</div>
<c:import url="../Shared/Layout.jsp">
    <c:param name="title" value=""/>
</c:import>